from django.shortcuts import render
from django.http import HttpResponse


def index(request):
    return render(request, 'app2/index.html', context={'pk': 123})


def detail(request, pk):
    return HttpResponse('detail of record <pk=%s>' % pk)
